package com.my.goodsmanage.enums;

import lombok.Data;

/**
 * @author 徐佳辉
 * @date 2020/9/25 22:20
 */

public enum PictureEnum {

    SUCCESS(0,"上传成功"),ERROR(1,"上传失败"),OUT_OF_DISK_SPACE(3,"磁盘空间不足，请联系管理员");

    private int code;
    private String msg;

    PictureEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
